//
// Created by Moonbreeze on 2015/12/18.
//
#include "FilePathManager.h"
FilePathManager::FilePathManager() { }

FilePathManager::~FilePathManager() { }

bool FilePathManager::GetAbsolutePath(std::string strRelativePath, std::string &strAbsolutePath) {

    for (int i = 0; i < strRelativePath.size(); ++i) {
        if (strRelativePath[i] != '.'){
            strAbsolutePath+= strRelativePath[i];
        }else{
            strAbsolutePath += "/";
        }
    }
    return true;
}